package com.caimiao.miao.library.bluetooth.state;

public class BtWriteState implements IBtState {
    private int state;
    private String msg;

    public BtWriteState(int state, String msg) {
        this.state = state;
        this.msg = msg;
    }

    @Override
    public int getCode() {
        return IBtState.CODE_WRITE;
    }

    @Override
    public int getState() {
        return state;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
